package com.songxh.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.songxh.pojo.LoginFrom;
import com.songxh.pojo.Teacher;

/**
 * @author songxh
 * @create 2022-04-18-19:20
 */
public interface TeacherService extends IService<Teacher> {
    Teacher login(LoginFrom loginFrom);

    Teacher getTeacherById(Long id);

    IPage<Teacher> getTeacherByOpr(Page<Teacher> page, String name, String clazzName);
}
